home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Datafile PD-CD 1 Issue 2
/
PDCD-1 - Issue 02.iso
/
_utilities
/
utilities
/
004
/
_usr_sel
/
!Usr_Sel
/
!Help
< prev
next >
Wrap
Text File
|
1994-08-26
|
5KB
|
103 lines
> User Select
> ⌐ James Aylett (for Xi Software) 1994
> V1.11 (06-Mar-94)
Written by James Aylett at Xi Software.
Copyright agreement:
This program is PUBLIC DOMAIN, and may be freely distributed, providing no
charge is made (in the case of PD libraries, a small charge may be made to
cover costs), and providing all files in this directory are distributed
along with the main code. Please make any alterations you wish, appending
comments to this file. If you send me new versions then I'll include the
alterations in my updates as well ...
Purpose:
User Select allows you to quickly open directories or files and execute
commands by selecting them from a list. This obviously has advantages over
the other methods around; pinboard, which clutters up your desktop
background (AND covers up your picture of Madonna!); Menon which either has
long menus or complicated menu structures if you have a lot of directories,
or files; and TinyDirs, which is really ridiculous if you have more than two
files on it (as well as Edit, CFS, a hard disc, printers drivers ...). User
Select was written to solve this problem by having a single window which you
can close when you don't need it. Simple!
Use:
User Select loads onto the right-hand side of the icon bar, and opens its
main window at the same time. This window is divided into two; on the left
is a list of names, and on the right are three buttons, Prefs, Add and Save.
Clicking on a name in the list with SELECT opens/runs/executes the
directory/file/ command it refers to; clicking on a name in the list with
ADJUST opens a window giving info about that object; clicking MENU in this
area opens a menu with one option; Remove. Clicking on this removes the
entry you clicked over.
Clicking on Prefs opens the preferences window; this controls general
behaviour of User Select. The No Write option will not allow any icons or
entries to be added, removed or saved if selected. Open window on load does
just that, and execute <filename> on load will execute the file as soon as
User Select loads. None of these options actually affects User Select until
it is next loaded, and so the structure and settings must be saved for them
to have any effect.
Clicking on Add opens a window where you can write the identifying
name (used in the list) and the full pathname (this can be a system variable
if required) for files or directories, or the command. You also specify here
whether it will be a file, command or icon. With files and commands it
doesn't matter which type is selected, but if you select icon then you
should also specify a sprite name and a position on the icon bar. Util and
App are the normal left and right, FS and Sys App are only under RiscOS 3
and put them with the relevant groups at the far left and right.
Icons on the iconbar will execute their command or load/run their file when
clicked on with SELECT/ADJUST; clicking MENU opens a menu with two options,
Definition and Remove. Definition leads to a window as for clicking ADJUST
on an entry in the list, and remove removes the icon.
Clicking on Save saves the list so that next time User Select will load with
the directories, files, commands and icons you want. Notice that there is no
warning if you attempt to quit without having saved the settings and list
first.
Settings:
The settings file contains a few comments to enable you to quickly set up
your most commonly-used directories, files and commands in the STRUC ...
ENDSTRUC section. However, there is no explanation of the SETIINGS ...
ENDSETTINGS section. (These can, of course, be set from the Prefs window).
Option Parameters Meaning
CORRUPTED╣ None The program will not load at all;
NOWRITE▓ None It is impossible to add or remove entries, or to
save the settings file;
STARTUP <Filename> Runs <Filename> before opening the main window;
OPENWIND None Opens main window on loading.
╣ This was used to test that the program started OK
▓ Useful if you're not the only user of your computer ...
History:
V1.00 (06-Jun-93) Original written; Dir open/Add/Save/CORRUPTED option
V1.01 (12-Jun-93) Remove option/no entries in info box
V1.02 (12-Jun-93) NOWRITE option/object info
V1.03 (29-Jul-93) Now handles files and commands as well as directories
Object info now has changing icon depending on object
type; add object now has a query icon
V1.04 (29-Jul-93) STARTUP option; dragging file/dir/app adds to list
Clicking on remove scrolls the window back if needed
V1.05 (02-Oct-93) Clicking on remove closes object info window
V1.10 (05-Mar-94) Iconbar icons added, add/object windows redesigned;
OPENWIND option.
V1.11 (06-Mar-94) Preferences window added.
Contact:
If you want to comment about this program (or any others of mine in the
public domain), make suggestions, show your appreciation, etc then you
should write to the address below (a disc of goodies ensures a quick
reply!).
James Aylett,
1 Avon Drive,
Alderbury,
Salisbury,
SP5 3TA